using System;
using System.Collections.Generic;
using System.Text;

namespace DebugConsole.Components
{
    public class TreeViewNode
    {
        public List<TreeViewNode> nodes;
        public String name;
        public Object value;
        public bool open;

        public TreeViewNode(String name)
        {
            this.name = name;
            this.nodes = new List<TreeViewNode>();
            this.open = true;
        }

        public void Toggle()
        {
            open = !open;
        }
    }
}
